home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / global.css < prev    next >
Cascading Style Sheet File  |  2010-02-10  |  12KB  |  517 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Mozilla Communicator client code, released
  15.  * March 31, 1998.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998-1999
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the MPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /* ===== global.css =====================================================
  39.   == Styles that apply everywhere.
  40.   ======================================================================= */
  41.  
  42. /* all localizable skin settings shall live here */
  43. @import url("chrome://global/locale/intl.css");
  44.  
  45. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  46.  
  47. /* ::::: XBL bindings ::::: */
  48.  
  49. radio {
  50.   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
  51. }
  52.  
  53. menulist > menupopup,
  54. .menulist-menupopup {
  55.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
  56. }
  57.  
  58. .menulist-compact {
  59.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
  60. }
  61.  
  62. progressmeter[mode="undetermined"] {
  63.   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
  64. }
  65.  
  66.  
  67. .menulist-editable-box {
  68.   background: url("chrome://browser/skin/icons/search-back.png") repeat-x left center;
  69.   padding: 2px 0px; /* aligns url filed with startcap*/
  70.   padding-right: 5px; /* extra padding between url text and dropmarker*/
  71. }
  72.  
  73.  
  74.  
  75. #bookmarksPanel,
  76. #history-panel{
  77.   background:#E2E1E0 !important;
  78. #bookmarksPanel >hbox ,
  79. #history-panel > hbox {
  80.   background:#E2E1E0 !important;
  81.   border-bottom:1px solid #e0e2e8 !important;
  82. }
  83.  
  84. /* ::::: root elements ::::: */
  85.  
  86. window,
  87. page,
  88. wizard {
  89.   -moz-appearance: none !important;
  90. /* background-image: url("chrome://browser/skin/icons/dialogbg.png"); */
  91. background-color:#e1dfde;
  92. /* background-repeat:repeat-x; */
  93.  color: #101010;
  94.   font: message-box;
  95. /* font-size: 12px; */
  96. }
  97.  
  98. prefwindow {
  99.   -moz-appearance: none !important;
  100. /* background-image: url("chrome://browser/skin/icons/dialogbg.png"); */
  101. background-color:#e1dfde;
  102. /* background-repeat:repeat-x; */
  103.  color: #101010;
  104.   font: message-box;
  105. /* font-size: 12px; */
  106. }
  107.  
  108.  
  109. dialog {
  110.   -moz-appearance: none !important;
  111.   background-image: url("chrome://browser/skin/icons/dialogbg.png");
  112. background-color:#e1dfde;
  113. background-repeat:repeat-x;
  114.   color: #101010;
  115.   font: message-box;
  116. /* font-size: 12px; */
  117. }
  118.  
  119. /* deprecated */
  120. window.dialog {
  121.   padding-top: 8px;
  122.   padding-bottom: 10px;
  123.   -moz-padding-start: 8px;
  124.   -moz-padding-end: 10px;
  125. }
  126.  
  127. /* ::::: alert icons :::::*/
  128.  
  129. .message-icon,
  130. .alert-icon,
  131. .error-icon,
  132. .question-icon {
  133.   width: 64px;
  134.   height: 64px;
  135. }
  136.  
  137. .message-icon {
  138.   list-style-image: url("chrome://global/skin/icons/Message.png");
  139. }
  140.  
  141. .alert-icon {
  142.   list-style-image: url("chrome://global/skin/icons/Warning.png");
  143. }
  144.  
  145. .error-icon {
  146.   list-style-image: url("chrome://global/skin/icons/Error.png");
  147. }
  148.  
  149. .question-icon {
  150.   list-style-image: url("chrome://global/skin/icons/Question.png");
  151. }
  152.  
  153. /* ::::: iframe ::::: */
  154.  
  155. iframe {
  156.   border: none;
  157.   width: 100px;
  158.   height: 100px;
  159.   min-width: 10px;
  160.   min-height: 10px;
  161. }
  162.  
  163.  
  164.  
  165. /* AboutDialog */
  166. #clientBox {
  167.   background:#DEDDDC url("chrome://browser/skin/icons/about.png") no-repeat top center !important;
  168. }
  169.  
  170.  
  171. /* ::::: statusbar ::::: */
  172.  
  173. statusbar {
  174.   -moz-appearance: none;
  175.   border-top: 1px solid #cfcecd;
  176.   border-left: 0px solid ThreeDShadow;
  177.   border-right: 0px solid white;
  178.   border-bottom: 0px solid ThreeDHighlight;
  179.   background-color: #D9D7D6;
  180.   min-height: 22px;
  181.   margin: 0px;
  182.   margin-right: -1;
  183. /* font-size: 12px; */
  184. padding: 1px;
  185. }
  186.  
  187. statusbarpanel {
  188.   -moz-appearance: none;
  189.   -moz-box-align: center;
  190.   -moz-box-pack: center;
  191.   border:none;
  192.   padding: 0 4px;
  193. /*font-size: 20pt;*/
  194. }
  195.  
  196. .statusbar-resizerpanel {
  197.   -moz-box-align: end;
  198.   -moz-box-pack: end;
  199.   -moz-appearance: none;
  200.   padding: 0px;
  201.   border: none;
  202. display: none;
  203. }
  204.  
  205. .statusbarpanel-iconic,
  206. .statusbarpanel-iconic-text,
  207. .statusbarpanel-menu-iconic {
  208.   padding: 0 1px;
  209. }
  210.  
  211. window:not([active="true"]) menubar > menu {
  212.   color: #000000;
  213. }
  214.  
  215. sidebarheader {
  216.   height: 25px;
  217.   background-color: #ffffff !important;
  218.   -moz-appearance: toolbox;
  219.   border-bottom: 1px solid transparent;
  220.   border-top: 1px solid transparent;
  221. font-weight:bold;
  222. }
  223.  
  224. sidebarheader > label {
  225.   -moz-padding-start: 4px;
  226. }
  227.  
  228. #sidebar-box {
  229.    background-color:#E2E1E0 !important; 
  230. border-top:3px solid;
  231. -moz-border-top-colors: #e7e6e6 #bab8b6 #eeeeed; 
  232. padding-right:0.5em;
  233. /* -moz-border-radius: 5px; */
  234. }
  235.  
  236. #sidebar-box > sidebarheader{
  237.   min-height:34px;
  238. list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
  239.    background-color:#EFD732 !important; 
  240. }
  241.  
  242. #sidebar-box > browser{
  243.   border-top:3px solid;
  244. border-right:3px solid;
  245. border-left:3px solid;
  246. border-bottom:3px solid;
  247. -moz-border-right-colors: #E2E1E0 #bcbbba #dcdbda;
  248. -moz-border-left-colors: #E2E1E0 #bcbbba #dcdbda;
  249. -moz-border-top-colors: #e0dfde #969595 #c1c0bf; 
  250. -moz-border-bottom-colors: #e7e6e6 #bab8b6 #eeeeed;
  251. margin:0 2px 6px 6px;
  252. -moz-border-radius-bottomleft: 6px;
  253. -moz-border-radius-bottomright: 6px;
  254. -moz-border-radius-topleft: 6px;
  255. -moz-border-radius-topright: 6px;
  256.   
  257. background:white;
  258. }
  259.  
  260. .toolbar-focustarget {
  261.   -moz-user-focus: ignore !important;
  262. }
  263.  
  264. /* ::::: miscellaneous formatting ::::: */
  265.  
  266. .inset {
  267.   border: 1px solid ThreeDShadow;
  268.   border-right-color: ThreeDHighlight;
  269.   border-bottom-color: ThreeDHighlight;
  270.   margin: 0 5px 5px;
  271. }
  272.   
  273. .outset {
  274.   border: 1px solid ThreeDShadow;
  275.   border-left-color: ThreeDHighlight;
  276.   border-top-color: ThreeDHighlight;
  277. }
  278.  
  279. /* separators */
  280. separator:not([orient="vertical"]) {
  281.   height: 1.5em;
  282. }
  283. separator[orient="vertical"] {
  284.   width: 1.5em;
  285. }
  286.  
  287. separator.thin:not([orient="vertical"]) {
  288.   height: 0.5em;
  289. }  
  290. separator.thin[orient="vertical"] {
  291.   width: 0.5em;
  292. }
  293.  
  294. separator.groove:not([orient="vertical"]) {
  295.  
  296.    border-top: 1px solid #b7b5b3; 
  297.    border-bottom: 1px solid #ffffff; 
  298.  
  299.  height: 0; 
  300.   margin-top: 0.4em;
  301.   margin-bottom: 0.4em;
  302. }
  303. separator.groove[orient="vertical"] {
  304.   border-left: 1px solid #b7b5b3;
  305.   border-right: 1px solid #ffffff;
  306.   width: 0;
  307.   margin-left: 0.4em;
  308.   margin-right: 0.4em;
  309. }
  310.  
  311. .small-margin {
  312.   margin: 1px 2px;
  313. }
  314.     
  315. .plain {
  316.   margin: 0 !important;
  317.   border: none;
  318.   padding: 0;
  319. }
  320.  
  321. description,
  322. label {
  323.   cursor: default;
  324.   margin-top: 1px;
  325.   margin-bottom: 2px;
  326.   -moz-margin-start: 3px;
  327.   -moz-margin-end: 3px;
  328. }
  329.  
  330. description {
  331.   margin-bottom: 4px;
  332. }
  333.  
  334. #offlineAppsListLabel {
  335. margin-top: 10px !important;
  336. }
  337.  
  338. label[disabled="true"] {
  339.   color: GrayText;
  340. }
  341.  
  342. label[disabled="true"]:-moz-system-metric(windows-classic) {
  343.   color: ThreeDShadow;
  344.   text-shadow: 1px 1px ThreeDHighlight;
  345. }
  346.  
  347. .tooltip-label {
  348. border-color:#000000;
  349. color:#000000;
  350. -moz-border-colors:#000000 !important;
  351. margin: 0;
  352. }
  353.  
  354. .header {
  355.   font-weight: bold;
  356. }
  357.  
  358. .monospace {
  359.   font-family: monospace;
  360. }
  361.  
  362. .indent {
  363.   -moz-margin-start: 23px;
  364. }
  365.  
  366. .box-padded {
  367.   padding: 5px;
  368. }
  369.  
  370. .spaced {
  371.   margin: 3px 5px 4px;
  372. }
  373.  
  374. .wizard-box {
  375.   padding: 20px 44px 10px;
  376. }
  377.  
  378. .text-link {
  379.   color: -moz-nativehyperlinktext;
  380.   text-decoration: underline;
  381.   border: 1px solid transparent;
  382.   cursor: pointer;
  383. }
  384.   
  385. .text-link:focus {
  386.   color: red;
  387.   border: 1px dotted -moz-DialogText;
  388. }
  389.   
  390. .text-link:hover:active {
  391.   color: red;
  392. }
  393.  
  394. .text-link[visited="true"] {
  395.   color: purple;
  396. }
  397.  
  398. /* :::::: autoscroll popup ::::: */
  399.  
  400. #autoscroller {
  401.   height: 28px;
  402.   width: 28px;
  403.   border: none;
  404.   margin: -14px;
  405.   padding: 0;
  406.   background-image: url("chrome://global/skin/icons/autoscroll.png");
  407.   background-color: transparent !important;
  408.   background-position: right top;
  409.   -moz-appearance: none;
  410. -moz-border-image: none !important;
  411. }
  412.  
  413. #autoscroller[scrolldir="NS"] {
  414.   background-position: right center;
  415.   background-color: transparent !important;
  416. -moz-border-image: none !important;
  417. }
  418.  
  419. #autoscroller[scrolldir="EW"] {
  420.   background-position: right bottom;
  421.   background-color: transparent !important;
  422. -moz-border-image: none !important;
  423. }
  424.  
  425.  
  426. .tabs-right {
  427.   border: none;
  428.   background-color: transparent !important;
  429. border-bottom:5px solid !important;
  430. -moz-border-bottom-colors: transparent transparent transparent transparent #ffffff;
  431. }
  432.  
  433. tabpanels {
  434. -moz-appearance: none !important;
  435. -moz-border-radius-topleft:0px;
  436. -moz-border-radius-topright:0px;
  437. -moz-border-radius-bottomright:6px;
  438. -moz-border-radius-bottomleft:6px;
  439. border:4px solid;
  440. border-top:none !important;
  441. margin-top:-4px;
  442. -moz-border-left-colors:  #E1E0DF #B8B7B7 #F5F4F3 #E6E5E5;
  443. -moz-border-right-colors: #E1E0DF #bfbebd #f5f4f3 #f0f0ef;
  444. -moz-border-bottom-colors: #c3c2c2 #979595 #e4e3e3 #e6e6e5;
  445. background-color:#dfdedc !important;
  446. padding:0px !important;
  447. }
  448.  
  449. tabs {
  450. -moz-appearance: none;
  451. background-color: transparent !important;
  452. margin: 0px;
  453. border: none !important;
  454. min-height:32px;
  455. }
  456.  
  457.  
  458. /* FIREFOX 3.6 TABS */
  459.  
  460. tab {
  461. -moz-appearance: none !important;
  462. /*background-image:url("chrome://browser/skin/tabbrowser/tabs/tab_right2.png"),
  463.          url("chrome://browser/skin/tabbrowser/tabs/tab_right2.png");*/
  464. -moz-border-image: url("chrome://browser/skin/tabbrowser/tab_2.png") 2 6 0 / 2px 6px 0px;
  465. background-position:bottom left,bottom right;
  466. background-repeat:no-repeat,no-repeat;
  467. margin: 1px 0px 0px 0px !important;
  468. padding: 0px 8px 5px 8px;
  469. background-color: transparent !important;
  470. }
  471.  
  472. tab:not([selected="true"]):hover {
  473. -moz-appearance: none !important;
  474. /*background-image:url("chrome://browser/skin/tabbrowser/tabs/tab_right_hover2.png"),
  475.          url("chrome://browser/skin/tabbrowser/tabs/tab_right_hover2.png");*/
  476. -moz-border-image: url("chrome://browser/skin/tabbrowser/tab_3.png") 2 6 0 / 2px 6px 0px;
  477. background-position:bottom left,bottom right;
  478. background-repeat:no-repeat,no-repeat;
  479. margin: 1px 0px 0px 0px !important;
  480. padding: 0px 8px 5px 8px;
  481. background-color: transparent !important;
  482. }
  483.  
  484. tab[selected="true"] {
  485. -moz-appearance: none !important;
  486. margin: 0px !important;
  487. padding: 0px 8px 6px 8px;
  488. background-color: transparent !important;
  489. /*background-image:url("chrome://browser/skin/tabbrowser/tabs/selected_right2.png"),
  490.          url("chrome://browser/skin/tabbrowser/tabs/selected_right2.png");*/
  491. -moz-border-image: url("chrome://browser/skin/tabbrowser/tab_1.png") 2 6 0 / 2px 6px 0px;
  492. background-position:bottom left,bottom right;
  493. background-repeat:no-repeat,no-repeat;
  494. font-weight:normal;
  495. opacity:0.95 !important;
  496. border: none !important;
  497. }
  498.  
  499.  
  500. /*#miscGroup .groupbox-body {
  501. margin: 0px !important;
  502. padding: 8px 5px 13px 5px;
  503. border-top:4px solid;
  504. border-bottom:4px solid;
  505. border-right:4px solid;
  506. border-left:4px solid;
  507. -moz-border-left-colors:  #dcdbda #bab9b9 #f6f5f4 #e7e6e5;
  508. -moz-border-right-colors: #dcdbda #bab9b9 #f5f4f3 #e8e7e6;
  509. -moz-border-top-colors:  #e0dfde #d7d6d5 #fefefd #ededec;
  510. -moz-border-bottom-colors: #c2c2c1 #969595 #e4e3e3 #e5e5e4;
  511. background-color:#e0dfde;
  512. -moz-border-radius-topleft: 6px;
  513. -moz-border-radius-topright: 6px;
  514. -moz-border-radius-bottomleft: 6px;
  515. -moz-border-radius-bottomright: 6px;
  516. }*/